package com.mydemo.design_pattern.action_type.template_pattern;

import com.mydemo.design_pattern.action_type.template_pattern.impl.BasketballGame;
import com.mydemo.design_pattern.action_type.template_pattern.impl.FootballGame;

/**
 * <p></p >
 *
 * @author liming1
 * @version $Id: TestDemo, v1.0 2019-09-24 14:04 liming1 Exp $
 */
public class TestDemo {
    public static void main(String[] args) {
        Game game = new BasketballGame();
        game.play();

        System.out.println("=====================");
        game = new FootballGame();
        game.play();
    }
}
